package com.hanshunping.oop.extends_.practise1;

import org.w3c.dom.ls.LSOutput;

public class Test {
    public static void main(String[] args) {
    PC p = new PC("cpu1",50,"512G","苹果");
        System.out.println("PC的信息:\n"+ p.getDetails());
        NotPad n = new NotPad("cpu2",50,"1T","ipad","银色");
        System.out.println("NotPad的信息：\n"+ n.getDetails());
    }

}
